<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ page session="false"%>
<html>
<head>
<title>Home</title>
</head>
<body>
	<sec:authorize access="hasRole('ROLE_ADMIN')">
		<a href="<spring:url value="/find" />">Find</a>
	</sec:authorize>
	<a
		href="<spring:url value="/j_spring_security_logout" htmlEscape="true"/>">Logout</a>
	<h1>
		<h1>
			<fmt:message key="welcome.title" />
		</h1>
		Hello ${username}!
	</h1>

	<P>The time on the server is ${serverTime}.</P>
</body>
</html>
